import Vue from 'vue'
import Router from 'vue-router'

import cover from '../pages/cover.vue'
import exam from '../pages/exam.vue'
import result from '../pages/result.vue'
import prize from '../pages/prize.vue'
import record from '../pages/record.vue'

Vue.use(Router)

export default new Router({
  routes: [
    {
      path: '',
      name: 'cover',
      component: cover
    },
    {
      path: '/exam',
      name: 'exam',
      component: exam
    },{
      path: '/result',
      name:'result',
      component: result
    },{
      path: '/prize',
      name:'prize',
      component: prize
    },{
      path: '/record',
      name: 'record',
      component: record
    }
  ]
})
